export const constantRoutes = [
    {
        component: "Layout",
        menuName: "模块12",
        children: [
            {   path:'/ddddd',
                menuUrl: '/sdsd',
                menuName: "页面5555551",
                component: 'module2/section1/page1',
            }
        ]
    },
    {
        path: "/module2",
        name: "module2",
        menuName: "模块2",
        meta: {
            title: '模块2',
            icon: "Operation"
        },
        component: "Layout",
        children: [
            {
                path: "/section1",
                name: "section1",
                menuName: "section1",
                meta: {
                    title: 'section1',
                    icon: "Coin"
                },
                redirect:'/module2/section1/page1',
                children:[
                    {
                        path: "/module2/section1/page1",
                        name: "page11",
                        component: 'module2/section1/page1',
                        meta: {
                            title: 'page1',
                            icon: "Coin"
                        }
                    },
                    {
                        path: "/module2/section1/page2",
                        name: "page12",
                        component: 'module2/section1/page2',
                        meta: {
                            title: 'page2',
                            icon: "Coin"
                        }
                    }
                ]
            },
            {
                path: "/section2",
                name: "section2",
                meta: {
                    title: 'section2',
                    icon: "Coin"
                },
                children:[
                    {
                        path: "/module2/section2/page1",
                        name: "page21",
                        component: 'module2/section2/page1',
                        meta: {
                            title: 'page1',
                            icon: "Coin"
                        }
                    },
                    {
                        path: "/module2/section2/page2",
                        name: "page22",
                        component: 'module2/section2/page2',
                        meta: {
                            title: 'page2',
                            icon: "Coin"
                        }
                    }
                ]
            }
        ]
    },
    {
        path: "/module3",
        name: "module3",
        component: "Layout",
        meta: {
            title: '模块3',
            icon: "Operation"
        },
        children: [
            {
                path: "/section1",
                name: "section31",
                meta: {
                    title: 'section1',
                    icon: "Coin"
                },
                children:[
                    {
                        path: "/module3/section1/page1",
                        name: "page113",
                        component: 'module3/section1/page1',
                        meta: {
                            title: 'page1',
                            icon: "Coin"
                        }
                    },
                    {
                        path: "/module3/section1/page2",
                        name: "page123",
                        component: 'module3/section1/page2',
                        meta: {
                            title: 'page2',
                            icon: "Coin"
                        }
                    }
                ]
            },
            {
                path: "/section2",
                name: "section32",
                meta: {
                    title: 'section2',
                    icon: "Coin"
                },
                children:[
                    {
                        path: "/module3/section2/page1",
                        name: "page213",
                        component: 'module3/section2/page1',
                        meta: {
                            title: 'page1',
                            icon: "Coin"
                        }
                    },
                    {
                        path: "/module3/section2/page2",
                        name: "page223",
                        component: 'module3/section2/page2',
                        meta: {
                            title: 'page2',
                            icon: "Coin"
                        }
                    }
                ]
            }
        ]
    }

]